import { BaseEntity } from './base.entity'
import {
  Entity, Column, 
} from 'typeorm'

@Entity('province')
export class ProvinceEntity extends BaseEntity {
  @Column()
  parentCode: string

  @Column({})
  name: string

  @Column({
    unique:true
  })
  code: string
}
